document.addEventListener('DOMContentLoaded', function() {
    // 初始化存档
    indexedDB.open('yunyi', 1).onupgradeneeded = (e) => {
        const db = e.target.result;
        db.createObjectStore('globalData', {autoIncrement: true})
        db.createObjectStore('gameSlot', {keyPath: "id"})
    };
    openStart();
}, {once: true});